package complex.java.base;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Random;

public class JaveBase {
	public static void main(String[] args) {
	    //测试随机 数
	    String all  = "0,1,2";
	    String[] all_values_arr = all.split(",");
	    Random ra = new Random();
	    int index = ra.nextInt(all_values_arr.length);
	    System.out.println(Integer.valueOf(all_values_arr[index]));
	    
		Collection co = new ArrayList();
		co.iterator();
	}
	
}
/**
 * 内部类
 * @author gaol
 *
 */
@Deprecated
class Test11 {
	
}
